/*
 * Model.java
 * @author Andrey Tesler
 * Created for DiffView project
 * Created on 4 October 2009, 13:53
 */

package diffview;

import java.util.*;
import java.io.*;
import static java.lang.Math.*;
import static java.lang.System.*;

public class Model implements IModel {
    
    List<String> oldLines;
    List<String> newLines;
    /// ??? correspondences
    
    public Model(List<String> oldLines, List<String> newLines) {
        this.oldLines = oldLines;
        this.newLines = newLines;
    }
    
    public Model() {
        this(new ArrayList<String>(), new ArrayList<String>());
    }
    
    public List<String> getOldLines() {
        return oldLines; /// maybe unmodifyableList
    }
    
    public List<String> getNewLines() {
        return newLines; /// maybe unmodifyableList
    }
}
